import i18n from '@/common/lang'

export const columns = [
  {
    label: i18n.t('supplierSelf.rectifyInform.rectifyInformOrder'),
    width: 'auto',
    prop: 'number',
    fixed: true
  },
  {
    label: '需回复时间',
    prop: 'replyDate',
    width: 'auto'
  },
  {
    label: '通知时间',
    prop: 'createTime',
    width: 'auto'
  },
  {
    label: '整改结果',
    prop: 'result',
    width: 'auto'
  },
  {
    label: '状态',
    prop: 'state',
    width: 130
  }
]
export const actions = [
  {
    key: 'detail',
    text: i18n.t('common.detail'),
    permissions: 'srm:rectify:detail'
  },
  {
    key: 'reply',
    text: '回复',
    permissions: 'srm:rectify:supplyReplay'
  },
  {
    key: 'complete',
    text: '整改结果提交',
    permissions: 'srm:rectify:complete'
  }
]
